package com.hospital.demo.mapper.dingyuxin;

import com.hospital.demo.model.dingyuxin.Expend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExpendMapper {
    int deleteByPrimaryKey(Integer expendid);

    int insert(Expend record);

    int insertSelective(Expend record);

    Expend selectByPrimaryKey(Integer expendid);


    List<Expend> selectByType(@Param("type") String type);

    List<Expend> selectAll();

    int selectByTypeMoney(@Param("type") String type);

    int updateByPrimaryKeySelective(Expend record);

    int updateByPrimaryKey(Expend record);
}